Infinity-Use-Equipment names a function, with lambda list (D USER RECIPIENT/S):
The player wishes to use a piece of equipment on a particular item or place.
Lisp USE-EQUIPMENT = JSON useEquipment
{ t: ( 1 | 2 ), x: X, y: Y, z: Z }
or
{ t: ( 1 | 2 ), on: "ITEM-OR-CHARACTER-UUID", [ of: ( "item" | "char" ) ] }
The t number indicates whether the user's currently-selected primary item (i.e. the item equipped in their trunk) is being used, or their secondary item (which is not supported). In other words, for Romance 1.1, 1.2, or 2.0, this must always be the number 1.
In the first form, the user wants to use their equipment on an arbitrary point in space, whose coördinates are passed in.
In the second form, the user wants to use their equipment on a particular item or character. The optional of helps narrow down whether it should be an item or character.
WRITEME
WRITEME
Defined in file src/infinity/legacy-commands.lisp.